package com.wisnews.pojo.sr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuyd
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true) //开启链式写法
@TableName("t_sr_post_info")
public class PostInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 帖子ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String postId;

    /**
     * 发帖内容
     */
    private String postContent;

    /**
     * 发帖时间
     */
    private String postDataTime;

    /**
     * 点赞数
     */
    private Integer postLike;

    /**
     * 评论数
     */
    private Integer postComment;

    /**
     * 发帖用户id
     */
    private String postMemberId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改时间
     */
    private String modifyTime;


}
